import request from '@/utils/request';
import { AxiosPromise } from 'axios';


// 查询菜单列表
export const invoiceAddress = (query) => {
  return request({
    url: '/payment/invoiceAddress/list',
    method: 'get',
    params: query
  });
};

// 添加新增
export const invoiceAddressAdd = (query) => {
  return request({
    url: '/payment/invoiceAddress',
    method: 'post',
    data: query
  });
};
// 修改发票地址
export const invoiceAddressAddEdit = (query) => {
  return request({
    url: '/payment/invoiceAddress',
    method: 'put',
    data: query
  });
};